/******************** (C) COPYRIGHT 2021 jimmy ***************************
  * @file      time.h
  * @describe  time head file         
  * @platform  Digital_Radio_Si47xx target board
  * @version   V1.0.0
  * @author    jimmy
  * @date      2021.11.28
**********************************************************************************/

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STATE_H
#define __STATE_H

/* Includes ------------------------------------------------------------------*/
//#include "..\..\Source\config.h"

typedef enum
{
    POWERUP = 0,
    CARTOON = 1,
    LOGO = 2,
    FFT = 3,
    AOI = 4,
    BLE = 5,
    UART = 6,
}MainState_Type;

typedef struct
{
    MainState_Type State;
    uint32_t TimeCnt;
    uint32_t LoopCnt;
}State_AppTypeDef;

extern bool_t ppp;


extern osThreadId_t osThreadId_AppMain;

extern void AppMain(void * argument);
extern void MainInit(void);



#endif /* __TIME_H */
